package com.jxk.springcloud.service;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import org.springframework.stereotype.Service;

/**
 * @ClassName : TestService  //类名
 * @Description :   //描述
 * @Author : jxk  //作者
 * @Date: 2020-09-28 10:00  //时间
 */
@Service
public class TestService {

    @SentinelResource(value = "sayHello")
    public String sayHello(String name) {
        return "Hello, " + name;
    }
}